package fangzhiyi.practice;

/**
 * @author fangzhiyi
 * @version 1.0
 * @date 2025/3/20 11:33
 * @description
 */
public class Test {
    public static void main(String[] args) {
        Coder coder = new Coder("小刚","000",3300);
        coder.Work();


        Manager manager = new Manager("小红","001",5000,500);
        manager.Work();
        System.out.println("------------------------------------------");

        Teacher teacher = new Teacher();
            teacher.eat();
          teacher.teach();
          Student stu = new Student();
          stu.eat();
          stu.learn();


        Cat c1 = new Cat("黑色",4);
        c1.eat();
        c1.catchMouse();
        Dog dog = new Dog("白色的",4);
        dog.lookHome();
    }

}
